package com.travel.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("travelogues")
public class Travelogue {
    private Long id;
    private Long userId;
    private String content;
    private String images; // 多个URL用逗号分隔
    private String coordinates;
    private BigDecimal rating;
    private Integer likes; //点赞
    private Integer views;  //预览
    private Integer comments;   //评论
}